package com.dayou.bean;

import com.dayou.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 外来人员注册表 user_reg_info
 * 
 * @author dayou
 * @date 2020-04-29
 */
public class RegInfo extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 主键id */
	private Integer id;
	/** 信息码 */
	private String code;
	/** 姓名 */
	private String name;
	/** 性别（0女 1男 其他未知） */
	private Integer gender;
	/** 人员类型id(0内部民警 1内部工勤人员 2内部特保 3律师 4外来民警公安 5 检察院 6法院 7其他) */
	private Integer typeId;
	/** 工作证编号 */
	private String workno;
	/** 单位名称 */
	private String unitName;
	/** 身份证号 */
	private String idcardNo;
	/** 注册人员照片 */
	private String picpath;
	/** 注册类型 0 快捷注册 1身份证注册 2 输入注册 */
	private Integer registertype;
	/** 审核状态 0 未审核 1 已审核 */
	private Integer verifyState;
	/** 审核结果 1 通过 0 未通过 */
	private Integer verifyResu;
	/** 绑定的犯人id */
	private String bindPrisonerId;
	/** 排队号 */
	private Integer queueNo;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setCode(String code) 
	{
		this.code = code;
	}

	public String getCode() 
	{
		return code;
	}
	public void setName(String name) 
	{
		this.name = name;
	}

	public String getName() 
	{
		return name;
	}
	public void setGender(Integer gender) 
	{
		this.gender = gender;
	}

	public Integer getGender() 
	{
		return gender;
	}
	public void setTypeId(Integer typeId) 
	{
		this.typeId = typeId;
	}

	public Integer getTypeId() 
	{
		return typeId;
	}
	public void setWorkno(String workno) 
	{
		this.workno = workno;
	}

	public String getWorkno() 
	{
		return workno;
	}
	public void setUnitName(String unitName) 
	{
		this.unitName = unitName;
	}

	public String getUnitName() 
	{
		return unitName;
	}
	public void setIdcardNo(String idcardNo) 
	{
		this.idcardNo = idcardNo;
	}

	public String getIdcardNo() 
	{
		return idcardNo;
	}
	public void setPicpath(String picpath) 
	{
		this.picpath = picpath;
	}

	public String getPicpath() 
	{
		return picpath;
	}
	public void setRegistertype(Integer registertype) 
	{
		this.registertype = registertype;
	}

	public Integer getRegistertype() 
	{
		return registertype;
	}
	public void setVerifyState(Integer verifyState) 
	{
		this.verifyState = verifyState;
	}

	public Integer getVerifyState() 
	{
		return verifyState;
	}
	public void setVerifyResu(Integer verifyResu) 
	{
		this.verifyResu = verifyResu;
	}

	public Integer getVerifyResu() 
	{
		return verifyResu;
	}
	public void setBindPrisonerId(String bindPrisonerId) 
	{
		this.bindPrisonerId = bindPrisonerId;
	}

	public String getBindPrisonerId() 
	{
		return bindPrisonerId;
	}
	public void setQueueNo(Integer queueNo) 
	{
		this.queueNo = queueNo;
	}

	public Integer getQueueNo() 
	{
		return queueNo;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("code", getCode())
            .append("name", getName())
            .append("gender", getGender())
            .append("typeId", getTypeId())
            .append("workno", getWorkno())
            .append("unitName", getUnitName())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("idcardNo", getIdcardNo())
            .append("picpath", getPicpath())
            .append("registertype", getRegistertype())
            .append("verifyState", getVerifyState())
            .append("verifyResu", getVerifyResu())
            .append("bindPrisonerId", getBindPrisonerId())
            .append("queueNo", getQueueNo())
            .toString();
    }
}
